package com.jiuhaohealth.kangxun360.main.mapper;

import com.jiuhaohealth.base.superpage.MapperSuper;
import com.jiuhaohealth.kangxun360.main.po.Question;
import com.jiuhaohealth.kangxun360.main.po.QuestionCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface QuestionMapper extends MapperSuper {
    int countByCriteria(QuestionCriteria example);

    int deleteByCriteria(QuestionCriteria example);

    @Deprecated
    int deleteByPrimaryKey(String qid);

    int insert(Question record);

    int insertSelective(Question record);

    List<Question> selectByCriteria(QuestionCriteria example);

    @Deprecated
    Question selectByPrimaryKey(String qid);

    int updateByCriteriaSelective(@Param("record") Question record, @Param("example") QuestionCriteria example);

    int updateByCriteria(@Param("record") Question record, @Param("example") QuestionCriteria example);

    int updateByPrimaryKeySelective(Question record);

    int updateByPrimaryKey(Question record);
}